// @ts-ignore
/* eslint-disable */
import * as http from '@/tools/http'

/** 获取当前的用户 GET /api/currentUser */
export async function currentUser(params: object) {
  return http.get('/api/user/currentUser', params)
}

/** 登录接口 POST /api/login/account */
export async function login(params: object) {
  return http.post('/api/user/login', params)
}

/** 获取页面列表 GET /api/page */
export async function page(params: object) {
  return http.get('/api/system/page', params)
}


/** 获取页面列表 GET /api/page */
export async function operation(params: object) {
  return http.get('/api/system/operation', params)
}
